Yoast\WP\SEO\Helpers\Image_Helper S

Total Complexity 46
Dependencies 6
Dependents 15
Total lines 405
Lines of code 150
Logical lines of code 89
Comment lines 189
Methods 19
Properties 6

Methods 19

Method Rating Maintainability Complexity Lines of code
get_attachment_by_url()
A
48 11 32
get_attachment_meta_from_settings()
S
61 4 13
get_caption()
S
63 3 11
get_gallery_image()
S
62 3 11
is_valid_attachment()
S
64 3 10
get_metadata()
S
68 3 7
get_attachment_image_source()
S
68 2 7
get_featured_image_id()
S
71 2 6
get_post_content_image()
S
69 2 7
get_term_content_image()
S
69 2 7
get_attachment_image_url()
S
69 2 7
get_best_attachment_variation()
S
67 2 8
get_first_usable_content_image_for_post()
S
80 1 3
get_attachment_id_from_settings()
S
80 1 3
__construct()
S
71 1 6
get_image()
S
79 1 3
is_valid_image_type()
S
78 1 3
is_extension_valid()
S
78 1 3
get_first_content_image_for_term()
S
80 1 3